package dto

import "gitee.com/zoneaurora/shop/internal/model"

type AdminUserDto struct {
  ID uint
  Username string
}

func ToAdminUserDto(admin model.AdminUser) AdminUserDto {
  return AdminUserDto{
    ID: admin.ID,
    Username: admin.Username,
  }
}
